package cn.good.biz.service;


import cn.good.mapper.ArticleMapper;
import cn.good.mapper.ArticleTypeMapper;
import cn.good.pojo.ArticleType;
import cn.good.service.ArticleTypeService;
import cn.good.service.CollectService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Service(interfaceClass = ArticleTypeService.class)
@Component
public class ArticleTypeServiceImpl implements ArticleTypeService {

    @Resource
    private ArticleTypeMapper articleTypeMapper;


    @Override
    public List<ArticleType> findArticleTypeList() throws Exception {
        return articleTypeMapper.selectArticleTypeList();
    }
}
